package com.dlwx.parttimetalent.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/11/21.
 */

public class LabelBean implements Parcelable {
    private int id;
    private String labelName;

    public LabelBean() {
    }

    protected LabelBean(Parcel in) {
        id = in.readInt();
        labelName = in.readString();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    public static final Creator<LabelBean> CREATOR = new Creator<LabelBean>() {
        @Override
        public LabelBean createFromParcel(Parcel in) {
            return new LabelBean(in);
        }

        @Override
        public LabelBean[] newArray(int size) {
            return new LabelBean[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(labelName);
    }
}
